import request from '@/utils/request'

// 获取留言信息列表
export function getMessageboardList(data) {
    return request({
        url: `/api/Business/Messageboard`,
        method: 'GET',
        data
    })
}

// 添加留言信息
export function createMessageboard(data) {
    return request({
        url: '/api/Business/Messageboard',
        method: 'POST',
        data
    })
}
// 删除留言信息
export function delMessageboard(id) {
    return request({
        url: `/api/Business/Messageboard/${id}`,
        method: 'DELETE'
    })
}